package com.cyzy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyzy.dto.FieldDto;
import com.cyzy.pojo.Activity;
import com.cyzy.pojo.Field;

import com.cyzy.pojo.Plot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LandMapper extends BaseMapper<FieldDto> {


    List<FieldDto> FieldList();
    FieldDto selectById1(long fieldId);
    List<Plot> selectByOwnerId(long field);
    List<Plot> selectAll(Plot plot);
}
